/* Created by FINAL PYTON 88 */

package pl.edu.agh.admin.gui;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;



public class TaskPanel extends JPanel
{
	private static final long serialVersionUID = 2888;

	private TaskTableModel taskTableModel;
	private JTable         taskTable;
	
	
	
	public TaskPanel()
	{		
		setLayout(new BorderLayout());
		taskTableModel = new TaskTableModel();
		taskTable = new JTable(taskTableModel);
		

		JScrollPane scrollPane = new JScrollPane(taskTable);
		add(scrollPane);
	}
	
	
	
	public TaskTableModel getTaskTableModel()
	{
		return taskTableModel;
	}
	
	
	
	public JTable getTaskTable()
	{
		return taskTable;
	}
}
